libostree: Add ostree_repo_remote_add() API, port "ostree remote add"
authorColin Walters <walters@verbum.org>
Fri, 20 Jun 2014 08:58:31 +0000 (04:58 -0400)
committerColin Walters <walters@verbum.org>
Fri, 20 Jun 2014 19:36:46 +0000 (15:36 -0400)
commit2265ccdeb310eb9055f4e1dd110d53e150f8576e
treea453ea8cb744c8eefebdba8cd915df455603ad49
parentb2329cf87536482c03c1babbc183c098bd8a53ba
libostree: Add ostree_repo_remote_add() API, port "ostree remote add"

At least one external tool is using the API, and wants to add a
remote, but all of the logic right now is in the tool.  Move it to the
library.

https://bugzilla.gnome.org/show_bug.cgi?id=731984
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-remote.c